package servlets;

import java.sql.Connection;

public abstract class DBConnectionFactory {
	// final String dataSource = "java:comp/env/jdbc/pantsg02" ;
	final String driver = "com.mysql.jdbc.Driver";
	final String URL = "jdbc:mysql://localhost:3306/ctrlspace2";
	final String username = "root";
	final String password = "aaaa";

	public static DBConnectionFactory getInstance() {
		return new DBConnectionFactoryImpl();
	}

	public abstract Connection getConnection();
}
